//package com.rabbitmq.direct.cousmer;
//
//import com.rabbitmq.direct.config.RabbitP2PConfigure;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
///**
// * @Author: hualao
// * @Version: 0.0.1V
// * @Date: 2018/10/24
// * @Description: 点对点模式：发送者消息保留在RabbitMQ中，当有订阅者是推送消息给订阅者
// **/
//@Component
//public class Cousmer {
//
//    @RabbitListener(queues = RabbitP2PConfigure.QUEUE_NAME)
//    public void receive(String msg){
//        System.out.println("点对点模式 --> "+msg);
//    }
//
//}
